class dog:
    name="xxx"
    age=0
    weight=0
    def __init__(self,name,age,weight):
        self.age=age
        self.name=name
        self.weight=weight
    def Print(self):
        print(self.name,' ',self.age,' ',self.weight)
d1=dog('机器狗',10,15)
d1.Print()